<?php
//Function for grabbing list of classes and storing
//them in an array.
$file="../data/Configurations/classlist.txt";
$fr=fopen($file,'r');
$s=0;
while(!feof($fr)){
	$str=fgets($fr);
	$str=trim($str);
	if(strcmp($str,"") != 0 && substr($str,0,1) != "#"){
		$array[$s]=$str;
		$s++;
	}
}
fclose($fr);
for($i=0; $i<$s; $i++){
	echo "<option value=\"" . trim($array[$i]) . "\">" . trim($array[$i]) . "</option>";
}
?>